package com.github.prontera.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.prontera.model.BasicDomain;

/**
 * 
 * u_client_invitation-用户邀请表
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ClientInvitation extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 邀请人
	 */
	@ApiModelProperty(value = "邀请人")
    private Long clientId;
	/**
	 * 被邀请人
	 */
	@ApiModelProperty(value = "被邀请人")
    private Long passiveClientId;
	/**
	 * 状态, 0:已计算收入,1:已计算收入
	 */
	@ApiModelProperty(value = "状态, 0:已计算收入,1:已计算收入")
    private Integer status;
	/**
	 * 邀请人邀请码
	 */
	@ApiModelProperty(value = "邀请人邀请码")
    private String clientShareCode;
	/**
	 * 被邀请人
	 */
	@ApiModelProperty(value = "被邀请人")
    private Client passiveClient;
	
	/**
	 * 达人状态
	 */
	@ApiModelProperty(value = "达人状态")
    private Integer talentStatus;
	
	/**
	 * 邀请人名称
	 */
	private String userName;
	
	/**
	 * 被邀请人名称
	 */
	private String passiveUserName;
	
	/**
	 * 被邀请人名称
	 */
	private Integer vipStatus;
	
	/**
	 * 邀请人
	 */
	@ApiModelProperty(value = "邀请人")
    private Client client;
	

	public Client getClient() {
		return client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	/**
	 * @return the vipStatus
	 */
	public Integer getVipStatus() {
		return vipStatus;
	}

	/**
	 * @param vipStatus the vipStatus to set
	 */
	public void setVipStatus(Integer vipStatus) {
		this.vipStatus = vipStatus;
	}

	/**
	 * @return the talentStatus
	 */
	public Integer getTalentStatus() {
		return talentStatus;
	}

	/**
	 * @param talentStatus the talentStatus to set
	 */
	public void setTalentStatus(Integer talentStatus) {
		this.talentStatus = talentStatus;
	}

	public ClientInvitation(){
    
    }
    
    public Client getPassiveClient() {
		return passiveClient;
	}

	public void setPassiveClient(Client passiveClient) {
		this.passiveClient = passiveClient;
	}

	public Long getClientId() {
        return this.clientId;
    }
    
    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }
    public Long getPassiveClientId() {
        return this.passiveClientId;
    }
    
    public void setPassiveClientId(Long passiveClientId) {
        this.passiveClientId = passiveClientId;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getClientShareCode() {
        return this.clientShareCode;
    }
    
    public void setClientShareCode(String clientShareCode) {
        this.clientShareCode = clientShareCode;
    }

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassiveUserName() {
		return passiveUserName;
	}

	public void setPassiveUserName(String passiveUserName) {
		this.passiveUserName = passiveUserName;
	}
    
    
}
